import http from "@/server/http";

//登录
export const login = (params) => {
    return http({
        url: "common/login/index",
        method: "POST",
        data: params,
    })
}

//扫码登录注册
export const scanCodeLogin = (params) => {
    return http({
        url: "/common/login/codeTaskRegister",
        method: "POST",
        data: params,
    })
}


export const queryVerifyTaskCode = (params) => {
    return http({
        url: "/common/login/verifyTaskCode",
        method: "POST",
        data: params,
    })
}